package com.yanqu.road.entity.activity.silkroad;



import java.util.ArrayList;
import java.util.List;

public class SilkRoadFindResult {
    private int ret;
    private UserSilkRoadData userData;
    private String rewards = "";
    List<Integer> placeIdList = new ArrayList<>();
    private List<Integer> findStepList = new ArrayList<>();
    private List<Integer> eventIds = new ArrayList<>();
    private long addScore;

    public int getRet() {
        return ret;
    }

    public SilkRoadFindResult setRet(int ret) {
        this.ret = ret;
        return this;
    }

    public UserSilkRoadData getUserData() {
        return userData;
    }

    public void setUserData(UserSilkRoadData userData) {
        this.userData = userData;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public List<Integer> getPlaceIdList() {
        return placeIdList;
    }

    public void setPlaceIdList(List<Integer> placeIdList) {
        this.placeIdList = placeIdList;
    }

    public List<Integer> getFindStepList() {
        return findStepList;
    }

    public void setFindStepList(List<Integer> findStepList) {
        this.findStepList = findStepList;
    }

    public List<Integer> getEventIds() {
        return eventIds;
    }

    public void addEventId(int eventId){
        if(this.eventIds == null){
            this.eventIds = new ArrayList<>();
        }
        this.eventIds.add(eventId);
    }

    public long getAddScore() {
        return addScore;
    }

    public void addAddScore(long addScore) {
        this.addScore += addScore;
    }
}
